x
<template>
  <!--QC结果-->
  <div id="QcDetails">
    <g-details
      :detailData="data.detailData"
      :inputConfig="inputConfig"
      ref="input"
    ></g-details>
  </div>
</template>

<script>
import baseMixin from "@/mixins/BaseMixin";

export default {
  name: "QcDetails",
  mixins: [baseMixin],
  props: {
    data: {
      type: Object,
    },
  },
  data() {
    return {
      inputConfig: [
        {
          type: "input",
          label: this.$t("in.lpn"),
          disabled: true,
          props: "toid",
        },
        {
          type: "input",
          label: this.$t("config.measureUnit"),
          disabled: true,
          props: "uom",
        },
        {
          type: "input",
          label: this.$t('in.qtyreceived1'),
          disabled: true,
          props: "qtyreceived",
        },
        {
          type: "input",
          label: this.$t('in.qcqtyinspected'),
          disabled: false,
          props: "qcqtyinspected",
        },
        {
          type: "input",
          label: this.$t('in.qcqtyrejected'),
          disabled: false,
          props: "qcqtyrejected",
        },
        {
          type: "select",
          label: this.$t('in.qcstatus'),
          disabled: false,
          props: "qcstatus",
          options: this.getOptions("codelkup/QCISTATUS"),
        },
        {
          type: "input",
          label: this.$t('in.editwho'),
          disabled: true,
          props: "editwho",
        },
        {
          type: "select",
          label: this.$t('in.qcrejreason'),
          disabled: false,
          props: "qcrejreason",
          options: this.getOptions("codelkup/QCREJRSN"),
        },
      ],
    };
  },
  methods: {},
  mounted() {},
  watch: {},
};
</script>

<style scoped></style>
